<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎来到我们的世界</title>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Noto Sans SC', 'Montserrat', sans-serif;
            background: linear-gradient(135deg, #1a1a2e, #16213e);
            color: #fff;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* 粒子背景 */
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .container {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* 主标题动画 */
        .main-title {
            text-align: center;
            margin: 3rem 0;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1.5s ease-out forwards;
        }

        .main-title h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            background: linear-gradient(90deg, #ff8a00, #e52e71);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 20px rgba(229, 46, 113, 0.3);
        }

        .main-title p {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            max-width: 800px;
            margin: 0 auto;
        }

        /* 卡片区域 */
        .features {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
            margin: 4rem 0;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 2rem;
            width: 300px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            transform: translateY(50px);
            opacity: 0;
            animation: fadeInUp 1s ease-out forwards;
            animation-delay: calc(var(--order) * 0.2s);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .feature-card:hover {
            transform: translateY(-10px) !important;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            background: rgba(255, 255, 255, 0.15);
        }

        .feature-card i {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, #00d2ff, #3a7bd5);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #fff;
        }

        .feature-card p {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

        /* 按钮动画 */
        .cta-button {
            display: block;
            width: fit-content;
            margin: 3rem auto;
            padding: 1rem 2.5rem;
            background: linear-gradient(45deg, #ff8a00, #e52e71);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(229, 46, 113, 0.4);
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: scale(0.9);
            animation: fadeInScale 1s ease-out forwards;
            animation-delay: 1s;
        }

        .cta-button:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(229, 46, 113, 0.6);
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        /* 滚动文字动画 */
        .scrolling-text {
            margin: 4rem 0;
            padding: 2rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .scrolling-text::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0) 20%, rgba(26, 26, 46, 0) 80%, rgba(26, 26, 46, 0.8) 100%);
            z-index: 2;
        }

        .text-container {
            display: flex;
            width: fit-content;
            animation: scrollText 30s linear infinite;
        }

        .text-item {
            white-space: nowrap;
            margin-right: 3rem;
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.6);
            display: flex;
            align-items: center;
        }

        .text-item i {
            margin-right: 0.5rem;
            color: #e52e71;
        }

        /* 3D翻转卡片 */
        .flip-card-container {
            perspective: 1000px;
            width: 300px;
            height: 200px;
            margin: 3rem auto;
        }

        .flip-card {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 1s;
            cursor: pointer;
        }

        .flip-card:hover {
            transform: rotateY(180deg);
        }

        .flip-card-front, .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .flip-card-front {
            background: linear-gradient(45deg, #3a7bd5, #00d2ff);
        }

        .flip-card-back {
            background: linear-gradient(45deg, #e52e71, #ff8a00);
            transform: rotateY(180deg);
        }

        .flip-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        /* 页脚 */
        footer {
            text-align: center;
            padding: 2rem;
            margin-top: 4rem;
            color: rgba(255, 255, 255, 0.6);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
            animation-delay: 1.5s;
        }

        /* 动画定义 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes scrollText {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-50%);
            }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .main-title h1 {
                font-size: 2.5rem;
            }

            .main-title p {
                font-size: 1.2rem;
            }

            .feature-card {
                width: 100%;
            }

            .text-item {
                font-size: 1rem;
            }
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
    <!-- 粒子背景 -->
    <div id="particles-js"></div>

    <div class="container">
        <!-- 主标题 -->
        <div class="main-title">
            <h1>欢迎 {{ name }} 来到创意空间</h1>
            <p>探索无限可能，体验前沿技术，加入我们的创新之旅</p>
        </div>

        <!-- 特性卡片 -->
        <div class="features">
            <div class="feature-card" style="--order: 1">
                <i class="fas fa-rocket"></i>
                <h3>前沿技术</h3>
                <p>我们采用最新的技术栈，为您提供卓越的体验和高效的解决方案。</p>
            </div>

            <div class="feature-card" style="--order: 2">
                <i class="fas fa-lightbulb"></i>
                <h3>创新设计</h3>
                <p>独特的设计理念，打造令人难忘的用户界面和交互体验。</p>
            </div>

            <div class="feature-card" style="--order: 3">
                <i class="fas fa-users"></i>
                <h3>社区支持</h3>
                <p>加入我们活跃的社区，与志同道合的人一起学习和成长。</p>
            </div>
        </div>

        <!-- 3D翻转卡片 -->
        <div class="flip-card-container">
            <div class="flip-card">
                <div class="flip-card-front">
                    <i class="fas fa-gem" style="font-size: 3rem; margin-bottom: 1rem;"></i>
                    <h3>发现更多</h3>
                    <p>点击翻转探索惊喜</p>
                </div>
                <div class="flip-card-back">
                    <h3>惊喜!</h3>
                    <p>欢迎加入我们的旅程，让我们一起创造非凡!</p>
                    <i class="fas fa-heart" style="margin-top: 1rem; color: white;"></i>
                </div>
            </div>
        </div>

        <!-- 滚动文字 -->
        <div class="scrolling-text">
            <div class="text-container">
                <div class="text-item"><i class="fas fa-check-circle"></i> 响应式设计</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 高性能体验</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 安全可靠</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 持续更新</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 多平台支持</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 专业团队</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 24/7支持</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 响应式设计</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 高性能体验</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 安全可靠</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 持续更新</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 多平台支持</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 专业团队</div>
                <div class="text-item"><i class="fas fa-check-circle"></i> 24/7支持</div>
            </div>
        </div>

        <!-- 行动号召按钮 -->
        <button class="cta-button">立即加入</button>

        <!-- 页脚 -->
        <footer>
            <p>© 2023 创意空间 | 版权所有</p>
            <div style="margin-top: 1rem;">
                <a href="#" style="color: rgba(255, 255, 255, 0.6); margin: 0 0.5rem;"><i class="fab fa-facebook-f"></i></a>
                <a href="#" style="color: rgba(255, 255, 255, 0.6); margin: 0 0.5rem;"><i class="fab fa-twitter"></i></a>
                <a href="#" style="color: rgba(255, 255, 255, 0.6); margin: 0 0.5rem;"><i class="fab fa-instagram"></i></a>
                <a href="#" style="color: rgba(255, 255, 255, 0.6); margin: 0 0.5rem;"><i class="fab fa-linkedin-in"></i></a>
            </div>
        </footer>
    </div>

    <!-- 粒子JS库 -->
    <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>

    <script>
        // 初始化粒子动画
        document.addEventListener('DOMContentLoaded', function() {
            particlesJS('particles-js', {
                "particles": {
                    "number": {
                        "value": 80,
                        "density": {
                            "enable": true,
                            "value_area": 800
                        }
                    },
                    "color": {
                        "value": "#ffffff"
                    },
                    "shape": {
                        "type": "circle",
                        "stroke": {
                            "width": 0,
                            "color": "#000000"
                        },
                        "polygon": {
                            "nb_sides": 5
                        }
                    },
                    "opacity": {
                        "value": 0.5,
                        "random": false,
                        "anim": {
                            "enable": false,
                            "speed": 1,
                            "opacity_min": 0.1,
                            "sync": false
                        }
                    },
                    "size": {
                        "value": 3,
                        "random": true,
                        "anim": {
                            "enable": false,
                            "speed": 40,
                            "size_min": 0.1,
                            "sync": false
                        }
                    },
                    "line_linked": {
                        "enable": true,
                        "distance": 150,
                        "color": "#ffffff",
                        "opacity": 0.4,
                        "width": 1
                    },
                    "move": {
                        "enable": true,
                        "speed": 2,
                        "direction": "none",
                        "random": false,
                        "straight": false,
                        "out_mode": "out",
                        "bounce": false,
                        "attract": {
                            "enable": false,
                            "rotateX": 600,
                            "rotateY": 1200
                        }
                    }
                },
                "interactivity": {
                    "detect_on": "canvas",
                    "events": {
                        "onhover": {
                            "enable": true,
                            "mode": "grab"
                        },
                        "onclick": {
                            "enable": true,
                            "mode": "push"
                        },
                        "resize": true
                    },
                    "modes": {
                        "grab": {
                            "distance": 140,
                            "line_linked": {
                                "opacity": 1
                            }
                        },
                        "bubble": {
                            "distance": 400,
                            "size": 40,
                            "duration": 2,
                            "opacity": 8,
                            "speed": 3
                        },
                        "repulse": {
                            "distance": 200,
                            "duration": 0.4
                        },
                        "push": {
                            "particles_nb": 4
                        },
                        "remove": {
                            "particles_nb": 2
                        }
                    }
                },
                "retina_detect": true
            });

            // 为卡片添加随机延迟动画
            const cards = document.querySelectorAll('.feature-card');
            cards.forEach(card => {
                // 已经在CSS中设置了顺序动画
            });

            // 按钮点击效果
            const ctaButton = document.querySelector('.cta-button');
            ctaButton.addEventListener('click', function() {
                this.innerHTML = '正在跳转...';
                setTimeout(() => {
                    alert('感谢您的点击！这是一个演示页面。');
                    this.innerHTML = '立即加入';
                }, 1000);
            });
        });
    </script>
</body>
</html>